package com.wxzz.elearing.evaluation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 行业类目/组别管理
 * </p>
 *
 * @author
 * @since 2021-04-10
 */
@Data
@ApiModel(value = "BusinessCategory对象", description = "行业类目/组别管理")
public class BusinessCategory extends BaseEntity {

    @ApiModelProperty(value = "行业名称")
    private String businessName;

    @ApiModelProperty(value = "0-行业类目 1-组别管理")
    private Integer businessCategoryType;

    @ApiModelProperty(value = "排序 从小到大")
    private Long businessCategorySort;

    @ApiModelProperty(value = "组别管理类型 0-工厂体检 1-星级认证 2-能力测评")
    private Integer type;

    @ApiModelProperty(value = "工厂体检/星级认证/能力测评id")
    private Long commonId;

    @ApiModelProperty(value = "工厂体检详情")
    private String factoryDetail;

    @ApiModelProperty(value = "星级认证详情")
    private String startDetail;

    @ApiModelProperty(value = "测评介绍详情")
    private String evaluationDetail;

    @TableField(exist = false)
    @ApiModelProperty(value = "标准数量")
    private Integer evaluationCriterionNum = 0;

    @TableField(exist = false)
    @ApiModelProperty(value = "题目数量")
    private Integer topicNum = 0;

    @TableField(exist = false)
    @ApiModelProperty(value = "分组总分")
    private BigDecimal businessCategoryAllScore;

    @TableField(exist = false)
    @ApiModelProperty(value = "分组得分百分比")
    private BigDecimal businessCategoryPercentum;

}
